package com.ls.lserp.modules.setting.web;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional(readOnly = false)
public class OperatingDataUtil{
    
    // 衬衫
    public static final String STYLE_CATEGORY_SHIRT="STYLE_CATEGORY_SHIRT";
    // 牛仔裤
    public static final String STYLE_CATEGORY_JEANS="STYLE_CATEGORY_JEANS";
    
    /**
     * 
     * @param styleCategoryCD 款式类别
     * @param operatingId 工序ID
     */
    public void updateData(String styleCategoryCD,Long operatingId ){
    	if (STYLE_CATEGORY_SHIRT.equals(styleCategoryCD)) {
			SHIRT_UpdateData(styleCategoryCD,operatingId);
		}else if (STYLE_CATEGORY_JEANS.equals(styleCategoryCD)) {
			JEANS_UpdateData(styleCategoryCD,operatingId);
		}
    }
    
    public void SHIRT_UpdateData(String styleCategoryCD,Long operatingId ){
    	if (operatingId == 1) {
    		SHIRT_UpdateData_OperatingId_1(styleCategoryCD,operatingId);
		}
    }
    
    public void JEANS_UpdateData(String styleCategoryCD,Long operatingId ){
    	
    }
    
    public void SHIRT_UpdateData_OperatingId_1(String styleCategoryCD,Long operatingId ){
    	
    }
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
}    